﻿// LK 04/05/2012 Purchase class interface
namespace EasyPO
{
    using System.Collections.Generic;

    public interface IPurchase
    {
        string Id { get; set; }
        string Description { get; set; }
        string ReasonForOrder { get; set; }
        string NomCode { get; set; }
        string NomDesc { get; set; }
        double UnitPrice { get; set; }
        int Quantity { get; set; }

        int GetTotal();
        string GetPoNumber(string currentPoNumber, int direction, string supplierCode);
        List<Purchase> GetPurchaseOrder(string currentPoNumber);
        List<string> GetListPoNumberTimer(string status, int deptid = 0);
        List<string> GetListPoNumber(string status, int deptid = 0);
        string AddNewPoNumberRecord(string currentPoNumber, string selectedSupplier);
        decimal CommitedThisMonthToDate();
    }
}
